package com.xxl.job.executor.mvc.controller;

import com.remote.module.dto.TestDto;
import com.remote.module.feign.FeignServer;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping(value = "/v1/executor/")
public class TestClientController {

//    @Resource
//    FeignServer feignServer;

    @PostMapping(value = "/test")
    public String insert(){
//        TestDto testDto = new TestDto();
//        testDto.setName("zhangsan1");
//        feignServer.test(testDto);
        return "";
    }
}
